home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekikoh Dennoh Club 7
/
Gekikoh Dennoh Club Vol. 7 (Japan).7z
/
Gekikoh Dennoh Club Vol. 7 (Japan) (Track 01).bin
/
ikap
/
graphic1
/
obj_18
/
baku64.bas
< prev
next >
Wrap
BASIC Source File
|
1999-06-15
|
834b
|
43 lines
int i,j,pl,anm,px,py,n
dim char dat(255)
dim int pat0(15)={&HD00,&HD04,&HD08,&HD0C,&HD40,&HD44,&HD48,&HD4C,
&HD80,&HD84,&HD88,&HD8C,&HDC0,&HDC4,&HDC8,&HDCC}
dim char x(15),y(15),an(15)
screen 0,3,1,1
window(0,0,511,511)
vpage(&B0001) : apage(0)
sp_init() : sp_disp(1)
spfile_def("baku64.sp",0)
palfile_def("baku.pal",1)
/*fill(0,0,255,255,rgb(10,20,30))
for i=0 to 7
x(i)=(rand() and 127)+48
y(i)=(rand() and 127)+48
/* an(i)=rand() and 15
an(i)=i*2
next
while inkey$(0)<>chr$(&H1B)
for i=0 to 7
an(i)=an(i)+1 and 15
if an(i) = 0 then {
x(i)=(rand() and 127)+48
y(i)=(rand() and 127)+48
}
next
/* v_disp()
for n=0 to 7
px=x(n)
py=y(n)
pl=pat0(an(n))
for i=0 to 3
for j=0 to 3
sp_set(n*16+i*4+j,px+j*16,py+i*16,pl+i*16+j,3)
next
next
next
endwhile